import {
  get,
  post
} from '@/api/common/http/http'

//随机获取推荐20条
export function get_recommend(params) {
    return get('/car_info', params)
}

//获取我的收藏
export function get_collect(params) {
  return get('/collection/get_collect', params)
}


//添加/取消收藏
export function set_collect(params) {
  return post('/collection/set_collect', params)
}